package pers.kui.mall.service;

import pers.kui.mall.exception.MallException;
import pers.kui.mall.model.pojo.User;

/**
 * @author: ldk
 * 描述: UserService
 */

public interface UserService {
    User getUser();

    void register(String userName, String password) throws MallException;

    User login(String userName, String password) throws MallException;

    void updateInformation(User user) throws MallException;

    boolean checkAdminRole(User user);
}
